package com.feifan.senate.web.action;

import java.util.Map;

import com.feifan.senate.dal.dataobject.user.BmwUser;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIConversion.User;

@SuppressWarnings("serial")
public class BaseAction extends ActionSupport{
	
	
	public BmwUser getUser(){
		ActionContext actionContext = ActionContext.getContext();
	    Map session = actionContext.getSession();
	    return (BmwUser)session.get("User");
	}
	
	

}
